package com.gry.mystring;

public class StringDemo1 {
    public static void main(String[] args) {
        String s1 = "abc";
        System.out.println(s1);
        String s2 = new String();
        System.out.println(s2);
        String s3 = new String("abc");
        System.out.println(s3);
        System.out.println(s1 == s3);
        System.out.println(s1.equals(s3));
    }
}
